package com.coolgor.axnut.dao.airuc;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.coolgor.axnut.entity.airuc.Lesson;

public interface LessonDao {

	Lesson queryLessonById(Long lessonID);

	List<Lesson> queryLessonList(@Param("lessonCondition") Lesson lessonCondition,
								@Param("rowIndex") int rowIndex,
								@Param("pageSize") int pageSize);
	
	int queryLessonCount(@Param("lessonCondition") Lesson lessonCondition);
	
	int insertLesson(Lesson lesson);
	
	int updateLesson(Lesson lesson);
	
	int deleteLesson(Lesson lesson);
	
	int batchDeleteLesson(List<Long> lessonIDList);
	
}
